POV-Ray : Newsgroups : povray.newusers : blob in while loop.... : Re: blob in while loop.... Server Time
5 Sep 2024 20:17:22 EDT (-0400)
  Re: blob in while loop....  
From: Robert Chaffe
Date: 22 Sep 1999 23:56:42
Message: <37e9a4fa@news.povray.org>
Perhaps this?

blob { threshold .5
  #declare ct = 0;
  #while (ct<10)
    sphere {0,1,1 translate ct*y}
  #declare ct = ct + .5;
  #end
  pigment {rgb <1,0,0>} }


Jason Dinger <jas### [at] hotmailcom> wrote in message
news:01bf0560$90c397c0$9a1ee1cf@jimmy-the-fish...
> when trying to change the object of my while loop from a regular sphere to
> a blob
> it seems to perform the while command but ignoring the blob and using only
> spheres?
>
> /*here's the code i'm using*/
>
> #declare ct = 0;
>  #while (ct<10)
> blob { threshold .5
>  sphere {0,1,1 translate ct*y}
>  pigment {rgb <1,0,0>} }
>  #declare ct = ct + .5;
> #end


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.